Vcenter Compute Policies Capabilities VmHostAntiAffinity Info

Vcenter Compute Policies Capabilities VmHostAntiAffinity Info
Vcenter Compute Policies Capabilities VmHostAntiAffinity Info

The Vcenter Compute Policies Capabilities VmHostAntiAffinity Info schema contains information about a virtual machine to host anti-affinity policy, see GET /vcenter/compute/policies/{policy}. Virtual machines that have the tag indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity Info.vm_tag will be anti-affine to hosts that have the tag indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity Info.host_tag in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported.

Warning: this schema is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

AllOf
This class requires all of the following:
JSON Example
{
    "name": "string",
    "description": "string",
    "capability": "string",
    "vm_tag": "string",
    "host_tag": "string"
}
string
vm_tag
Required

Identifier of a tag that can be associated with a virtual machine. Virtual machines with this tag will be anti-affine to the hosts indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity Info.host_tag.

Warning: this property is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine.

string
host_tag
Required

Identifier of a tag that can be associated with a host. Virtual machines indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity Info.vm_tag will be anti-affine to hosts with this tag.

Warning: this property is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:HostSystem. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:HostSystem.